package abc.handler;

import abc.base.BaseModel;
import org.springframework.core.io.buffer.DataBuffer;

import java.util.List;

public interface IDataExportHandler {
    /***
     * 导出数据
     * @param modelList model列表
     * @return
     * @throws Exception
     */
    <T extends BaseModel> byte[] call(List<T> modelList);
}
